package com.lagou.sqlsession;

import java.util.List;

public interface SqlSession {
   <E> List<E> selectList(String statementId, Object ... params) throws Exception;
   <T> T selectOne(String statementId, Object ... params) throws Exception;
   <T> T getMapper(Class<T> tClass);
   int insert(String statementId,Object ... params) throws Exception;
   int update(String statementId,Object ... params) throws Exception;
   int delete(String statementId,Object ... params) throws Exception;
}
